package com.hjj.java.se.staticDemo;

public class A {

    private static int a = b();

    static {
        System.out.println("enter A static block");
    }

    public static void main(String[] args) {
        new A();
    }

    public static int b() {
        System.out.println("enter A b()");
        return 1;
    }
}
